package com.stormrage.edu.dao.adm;

import java.util.List;
import java.util.Map;

import com.stormrage.entity.adm.AdmAcct;
import com.stormragetech.core.exception.StormrageTechException;

/**
 * @author www.stormragetech.com
 * @date 2016年1月19日
 * @version 1.0.0
 */
public interface AdmAcctDao {

	public Integer create(AdmAcct user) throws StormrageTechException;

	public void update(AdmAcct user) throws StormrageTechException;

	public void updatePass(AdmAcct user) throws StormrageTechException;

	public void updateLocked(AdmAcct arg0) throws StormrageTechException;

	public AdmAcct queryById(Map<String, Object> map) throws StormrageTechException;

	public AdmAcct queryByIdLock(Map<String, Object> map) throws StormrageTechException;

	public AdmAcct queryByAcct(Map<String, Object> map) throws StormrageTechException;

	public AdmAcct queryByAcctLock(Map<String, Object> map) throws StormrageTechException;

	public List<AdmAcct> queryList() throws StormrageTechException;

}
